<%@ page import="com.ibm.ems.dto.PollingBean"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
	function forwardRequest() {
<%%>
	}
</script>
<title></title>
</head>
<body>
	<form action="PollUpdaterServlet" method="post">

		<table>
			<c:forEach var="i" items="${courseList}">


				<tr>
					<td>${i.topicName}</td>
					<td>${i.category}</td>
				</tr>
				<tr>
					<td>${i.description}</td>
				</tr>
				<tr>
					<td><input type="radio" name="${i.topicId}" value="yes">

						Yes I will Attend!</td>
				</tr>
				<tr>
					<td><input type="radio" name="${i.topicId}" value="no">

						Not interested!</td>
				</tr>

			</c:forEach>
		</table>

		<input type="submit" value="Send My Votes!" onclick="forwardRequest()" />

	</form>

</body>
</html>

